#include <stdio.h> // Such as print, scan...
#include <conio.h> // Such as getch()...
#include <math.h> // Such as sqrt(), pow()...
#include <stdlib.h> // Such as system("cls")...

main(){
	float a, b, c, p, s;
	printf("A = ");scanf ("%f", &a);
	printf("B = ");scanf ("%f", &b);
	printf("C = ");scanf ("%f", &c);
	p = (a + b + c)/2;
	s = sqrt (p * (p - a) * (p - b) * (p - c));
	printf ("CV = %.2f\nDT = %0.2f",a+b+c, s);
	getch();
}
